package com.mp.approvalreq.entity;

import java.math.BigDecimal;

public class Data4Cost {

    private Integer requestId;

    private Integer companyInfoId;

    private String requestName;

    private String content;

    private String createTime;

    private BigDecimal amount;

    private Integer finished;

    private String color;

    private Integer defaultType;

    public Data4Cost() {
    }
    public Data4Cost(Request request) {
        this.requestId = request.getRequestDkey();
        this.companyInfoId = request.getApplicantCiid();
        this.requestName = request.getRequestName();
        this.createTime = request.getCreateTime();
        this.setFinished(request.getFinished());
        this.setDefaultType(request.getDefaultType());
    }


    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public Integer getCompanyInfoId() {
        return companyInfoId;
    }

    public void setCompanyInfoId(Integer companyInfoId) {
        this.companyInfoId = companyInfoId;
    }

    public String getRequestName() {
        return requestName;
    }

    public void setRequestName(String requestName) {
        this.requestName = requestName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getDefaultType() {
        return defaultType;
    }

    public void setDefaultType(Integer defaultType) {
        this.defaultType = defaultType;
    }
}
